package com.demo.starter.repository;

import com.demo.starter.entity.ArticleToTag;
import com.demo.starter.entity.ArticleToTagExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface ArticleToTagMapper {
    long countByExample(ArticleToTagExample example);

    int deleteByExample(ArticleToTagExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ArticleToTag record);

    int insertSelective(ArticleToTag record);

    List<ArticleToTag> selectByExample(ArticleToTagExample example);

    ArticleToTag selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ArticleToTag record, @Param("example") ArticleToTagExample example);

    int updateByExample(@Param("record") ArticleToTag record, @Param("example") ArticleToTagExample example);

    int updateByPrimaryKeySelective(ArticleToTag record);

    int updateByPrimaryKey(ArticleToTag record);
}